APPWTV-38 Refactored events.js and connector.js to be a Sencha Framework (actually they're classes)