added classes for the data going to the database