Where do you envision the factory being useful without the stub server? With regard to flexibility, I am not convinced that it's necessary, and it's possible to provide that flexibility when it becomes necessary.