Moved notes to its own module, added config for bot, made notes code clearer