Bugfix:
    Modified app.js to use class system of sencha,
    using the MVC model
Files-Changed:
    [m] app.js