Fixed: the app required more changes in order to be started with node build/server.js

I haven't succeed in running tests locally so please don't merge until I could see what Travis will say.