MapClient class created  to link sprites with map