added a better require statement starting from `server/`
added jshint config
changed relative requires to rootRequire statements