Listener and MapManager

Added a listener and map manager class