Added MVC controller factory, which works seemingly.