better constructor of ServerOperation