First step of the resume feature from #24.

I'll put this as an enhancement issue.