preparing for moving control management to mapManager
first big refactor for layersService