Refactor of models, commonjs modules, templates and mostly, the server will keep its state and provide middlewear