removed osgi dependencies from core  to a new module with a injectable registry