Converted mongiofy into separate module and created testapp.js
To-DO- Make Websocket publication of changes configurable instead of default. Create callback registering mechanism for model based routes. Consider mongo polling mechanism for broadcasting websocket events to support load balancers. (Current setup would only work for single server instances)