make service factory calls more type secure
refactoring of xml service container factory depended classes