init the MVC application