Migrations models

Set up database. Added models,migrations and validations.