Removed sqlite model.
Separated journal functions from model.