moved the CLI into a separate file and added the class to the module