train
mode with resume; enjoy
mode refactor
#455
+162
−203
Merged