Add destructor to Entity
Add dynamic memory usage example