Made DatabaseHelper an interfact to the database.