Added ping event and responding pong
Refactored event definitions with some meta magic.
Fleshing out bot definition patterns...