MVC application class implementation