Create models

Created validations and associations for models. Starting tests for associations next.