Implement ProfiledClassFactory, fix autoloader to support it, invoke in QueryService and ResultSets