Refactoring code, changing the way commands are processed, changing exit command, wrapping the word pring at the begining in #if debug