adapted for the port
added Procfile
fixed server.js
sendgrid functionality
added server dependency