Functional dependency injection framework for modular system OSGi