intermittent commit, added lots of code to factory and skeleton for bot
decided to move bot config loader to the same file as the bot itself.