Create connection.js