the basic code to add a new set to the sql database.