Added main application class into MVC architecture