I have added the connection and receiving of results saving them to the database.

Next I need to look at the program flow to make sure the validation works in two different ways.