added averaging to and time selection to api
Change logic that orders chart
Merge pull request #8 from cwhite911/sails

Sails