Fix #9 Inject service manager via factory