Custom view engine implemented. Bugfix on mainController routing.