Add index.js, connection functions
Add log messages for device/pipleline connect
add some fncs to index.js
Finish creatingConnection