Started on persistance, process recovery.
Removed sqlite source in favour of just using the lib.