Fix directory inconsistence
Fix directory inconsistence

Was using a special trait for setting the location of where the index was
located, however this has been replaced with a default "directory", rather
than the custom aware of component.

aedart/scaffold,aedart/scaffold