map_object base class created to hold position in maps