implemented profiledclassfactory for mw service