* add checkpoint caching * add data dir override to cli * move checkpointing into database * move logging to client * clean up