created a constructor for the TableConverter class