Added controller class to MapEditorGL class.