Added route for averages table.
Improved error handling.
Merge branch 'feature/pull-data' into dev
Added Averages table.
Added averages table.