some unification of factories
start on testing server factory