added a location class, getter methods to profile.