Added separate controllers and repositories.  
+ refactored the whole project,
removed some duplicated classes.