refactored app.js to a more functional approach and moved more functionality into manager.js
refactored kbox.js to use the new app structure
refactored plugins to use the new app structure