Created ProfilesController, Profile model and migration script. Refactored Controllers to extend the new RestController.
Added Repository trait