renamed MainController to MapController
added configuration module and database.