Store location data hierarchically

Closes #77.