Fixed idCode issues for all reads from the database. Created a new Exam object with read and write.