Implemented MapHandler class