1) properly organize the depednencies in the makefiles. 2) optionally persist params every N iterations. 3) refactoring.