Contains all code that is needed by the command line interface. This is both interactive CLI and batch CLI.