Add the preferences mechanism for package prefix
and also tailor the component hierarchy level