Preliminary work to refactor controller
moved code outside of controller need tidy up and test now
convert all the request from get to use proper GET, POST, PUT and delete protocol
remove cmd in makefile to use node-inspector
Merge pull request #3 from Financial-Times/move_code_outside_controller

Move code outside controller