accidently left trace in prod files, also added cli support
Added a main function and can now generate files from the cli