Removed some junk.
Refactored OSGi modules. Moved karaf specific projects into a Karaf module.