Class to manage a local database on an android device