Clean code: refactor MK.app in own app.js file