configuring the application with mvc