code refactoring, baby steps

- adjusted complexity values
- abstracted cli code into a wrapper
- created a consolidator to consolidate
- created generator method on consolidator
- updated unit test