Wildcard field in command class should be an array
Cleaning directory separator should be done earlier in the script
Refactoring task/generator classes