added class factories for dafif and dis libraries