add OSGI loading to loader