Working on a Database interaction class