implemented the marionaitte and moved the logic of transition between views
to the application object of marionette and used event aggregator logic