Added Location classes. Modified sql scripts.