Added caching data access

Added nesting to entity initialization context
The goal is to accommodate this new data access and make adjustments wherever necessary