app changed to expose mongo DB using express and node.js.

this will allow for access control and security to be controlled at the
server side.