Created a custom class for the locations, latitudes, and longitudes.