CreateCheckpoint and close for cell wide checkpoints and closing
Added create checkpoint and close over all states including the file
handling one
GC added fixes issues #1 and #2