Added typedef for DataPolicy in ServiceOperation. Added templated factory for ServiceOperationRBase teamplate. Updated test code in Class1.