Moved template files to own directories.