in the process of changing class heirarchy
finished changing structure of map and photonmapper class