Added hooks modules and usage example

Call methods based on entity events: initialized, updated, and destroyed.