Add public API

-- Make StringToTime available outside of its block.
- Save predictions between sessions.