Added repository and project entity. Added relations. Updated database migration. Added unit tests for entities.