Bunch of work on starting the bot.