put everything in bundles and set classloaders to avoid ClassNotFoundError