adding args passing to routes, adding delete functionality
added json response, added ajax in js
completing update, added js for edit