Implemented the View interface and the Model absract class from the
lecture notes.