renaming server file to connector.js