started moving from arrays to objects for most things
Locations and data are now objects with keys
fixed bugs with new objects; replaced concat with push