Generates templates in a new directory (Fixes #1)