Implement basic checkpoint functionality

This PR adds checkpoint creation and restore.  It does not handle moving/deleting/listing checkpoints.