fix bug with non default port in Server.js. Remove old index.js