TODO update
Adding registerInstance property
Change level entity load and add layer entity