Refactor update

@brianmckenna, @lukecampbell , @birdage , @ednad, 

Please review:

Highlights:
- Implemented Edna's code to get json dict in format Andy needs into the newly refactored code from Luke.
- Updated controller.platform test to no longer check for exact data, rather check the output is of type JSON.
- Holding onto MVC architecture!