Getting persistence working across all platforms using SQLite