Newfunctions

Adds delete and edit functionality