PhD Thesis: The Genetic and Cellular Basis of Viviparity