Switchyard 340

Refactoer a split package and fixed some feature dependency issues for deploying on Karaf.