Cleaned up server.js
Added resource-files
Added mongojs-dep
More refactoring of server