Optimize MVC framework