Updated new/edit/delete processing

Manipulation of the db is commented out at the moment