* Photo class now contains only latitude and longitude.
* added error logic to savemanager