converted the sqliteopenhelper class to a singleton