adds an sqlite session manager (needs acceptance test)