Changes in Location class and added Time class.