added class factory for xRecorder library