updated cli.cpp - no tested
Completed the CLI class, and added a basic testing in main.cpp