Make MVC work (sort of)