Added getParkingLocations function, deleted unnecessary functions, and added comments