Added deleteAll() method to clear the database