AssetsCache update.

Adding new code to test reflection.
Entities are now added to the assetcache.