added factory to build service