MIST-149: Add stats package, and add timers to API calls