connectionHandle.js is far too large and should be split into multiple files to be more easy to manage