Moved sqlite to persistent storage.
Migrating to Postgresql due to problems with sqlite test database.