Retraining now happens in a separate process. Closes #3.