more changes for openshift
added server.js for openshift and more cleanup