Migrations and models

Created migrations and models. added the basic connections to them, but it has no validations.