Add AggregateFactory to the example code

PR #42 changes were not applied to the examples directory, causing breakage of unit tests in /examples
In the examples we use the complete namespace. It is easier to spot where a specific class is when quickly browsing through the examples.