Finished the functionality of the summaryView. Needs styling.