adding support for checkpoint

also added a initial checkpoint file

Signed-off-by: Jonas Schnelli <jonas.schnelli@include7.ch>