object orientize map class