added dependency injection and did some other things
Merge pull request #4 from officialouterweb/fix-up-bot-wrapper

added dependency injection and did some other things