updated app.js and added file loggign

	Commit by: Simon
Merge branch 'master' of github.com:CodingCo/NodeServer