CoreFactory class added.