Add tests for the config module, refactor due to said tests
Add tests for the cli & command modules
More test implementation and refactoring