removed users.js as it is unused default file from express.js
i have extracted this out to it's own model to deal with mongodb interactions etc
added Mongoose package to repository to be used to communicate with mongodb
added underscore.js to backend to use for various things as it is a really useful library
removed config from the main app js and delegate the app configuration to system/configuration.js, the settings are easily passed via js object, this was done to break up the logic so that the app file can stay relatively small, I also created a router function, which takes an object of objects, with keys for get, put, post and delete. the inner object needs to consist of a uri string and a callback function. This means that routes can easily be added in specific controllers/routes etc, in this case I have added a route called docRoute, which handles rest resquests for the documentation, this function returns the docRoute object, it passes the router to the use of too many globals which then creates the uri routes which are mapped to specific function calls
added docModel, this is the model which handles the documentations, this communicates directly with mongodb documents, using mongoose.js, various functions are called on this from the docRoute, depending on the uri resolution and header request, which is being developed as a RESTful API to handle the crud of this data model
made some big changes to application, so it now allows alot more flexibility to be defined by the user rather than trying to cater for all different edge cases. I think this is a much better approach
changed page controller to home controller
added "AddDocsController" and added routes in route-map.json
updated dependencies in package.json