Separate the bot's logic into different files