Some helper classes to use Android database with storage on disk and in memory