split ORDatabaceFactory class