creates a class to represent a physical location