refactored to mediator pattern, added user controller
plug in irc bot, fixes #7