use a class factory to create the bot from sys.argv