cleaned up command line interface, added example config file to configure preferences in command line mode