Improved MVC support for code generation, modularity and threading.