Added basic template processing.
Todo list.