remove classes in namespace hack for PhpIndex, directly use indexes and allow entities in sub namespace
optimize performance for yaml doctrine entity goto and allow sub namespaces
remove duplicate code