Organize templates into subfolders

Resolves #109.