Added basic documentation on templating