Added an insertion method for objects to be placed in the map