Deploy to azure

Changed server.js file to deploy to azure. Corrected !module.parent error.