More V7 preparation, separating bot functionality (lib/bot.js)