Main = {};
Main.currentModule = null;


function start()
{
	
	Phire.registerModel(new WebProxy());
	Phire.registerView(new MainModule());

	Phire.registerView(new AlertPanel());
	Phire.registerView(new LoginPanel());
	Phire.registerView(new MainNavigation());
	Phire.registerView(new JobTestModule());
	Phire.registerView(new FeelWellModule());
	Phire.registerView(new PreloaderPanel());
	Phire.registerView(new FitModule());
	Phire.registerView(new FitInterviewModule());
	Phire.registerView(new VideoModule());
	Phire.registerView(new KompassModule());
	
	Phire.getView("MainNavigation").init();
	
	Phire.registerCommand(Notifications.SHOW_MODULE, ShowModuleCommand);
	Phire.registerCommand(Notifications.SHOW_ALERT_PANEL, ShowAlertPanelCommand);
	Phire.registerCommand(Notifications.SHOW_LOGIN_PANEL, ShowLoginPanelCommand);
	Phire.registerCommand(Notifications.NAVIGATE_TO, NavigateToCommand);
	Phire.registerCommand(Notifications.EXIT_TEST, ExitTestCommand);
	
	Phire.sendNotification(Notifications.SHOW_MODULE, {module:"MainModule"});
	
};



