Adds some template files and view functions.