Added a view engine.
Also made things work.