add persist with callback option
delete print
Merge pull request #4 from omrishuva/persist-with-callbacks

Persist with callbacks