Refactored API to take json directly (no longer params/url). Implemented first naive geofence algorithm to return only events within range