Some more refactoring / debugging. And built an autosolver.
Calculate probabilities. Try to speed up.
Finish implementing database and background worker. Implement heartbeat.