Change RegistrationFactory interface to take in SolverFactory instead. Change cache fname convention.