events example added
TypedObjectPool added
and minor refactoring