Update proximity api with new routes, complete with testing