Added delete functionality, before 'DRYing' code
Dryed up code
changed resources and partials to 'Dry out' the code more.