Final-ish code for creating models for Monte Carlo solvers. Also added pickle functionality for solvers.