* Added EntityDefinition

* Entity is now created from definition instead of name
* Introduced memory leak (just for show)