Updated application view structure

Application now uses the layout class to handle regions. Also tidied up
and modularised the Application init code. Next step is to implement a
custom AJAX caller to ahdnle authentication and the refreshing of the
navigation bar (e.g. show or hide items)
Updated application view structure