Merged the code Hamdan wrote to finish up the application. Added all of the queries on the information read in