Added Templating interface and Controller::render() method that uses it.