Added model and and code for keeping track of all submissions.