Master refactoring. Class Bot broken up to smaller classes, implemented Kdyby\Events.