Creation of server factory