Migrate model logic to view

Use the year's view as the basis from which to edit and delete records from the corresponding db table