Add persistent checkpoint structure (#5)