Add controller and other code related to submissions.