basic command line functionality and config file loading/saving