added class Location and its attributes

added Location and its attributes