bind entities to ioc