src: Add a basic CLIMain class