updated to recent api changes
Make sure component/api isn't included in war