moving the externalinterface.addcallback functions to connect
Merge pull request #10 from bendapkiewicz/release-candidate

moving the externalinterface.addcallback functions to connect