Added command module, refactored aggregator

Now everything is event-oriented. The new command API allows for better extensibility.
Got rid of `catch_all`.
Version bump
Fixed docs