Built controller to take data from DOM and build the correct model. Also started building the view/template, but need to move this to its own file.