Synthetic Recombinase Based State Machines In Living Cells