a console class with a shitty command line parsing