added hash table based name lookup for entities, probably will do the same with models and etc