added license file.
fixed registration of solver to factory