Make the bot modular

Finally.