Adding the pupil model to the HTML and App