add tests for CLI Filegen Class
rename CLI file to remove extension
fix a couple of PSR2 style errors in Filegen.php