Add service factory