Refactor to store location data with accelerometer and temperature
data