refactored out method and changed remove expired events to use postgres
removed mean distance for people