apply Perl::Tidy
move output and target from Template role to cmd

and require both for compiling class with Template ...