added a relationships model, spec file and database migration file