Defining controllers as classes
Refactoring map controller as a class
Refactoring controlls class
Refactoring data model