added template code for server.js
working