Refactored Role and User models, repositories, services.
Finished implementing addNewThesis() functionality without file upload.