Create connector.js