added store checkpoint function
fixed cmake file (linked ross library)