added base models
connections between models
added migrations