Refractoring main.js to smaller chunks
Simplifying getType
Using Status Observable.
Added is working check for updating the map
Reflactoring status to use better naming
Using json object for locations and more reflactoring
Refractoring mainControl to MapControl