add remove and edit working

Added functionality to the rest of the RestfulAPI (add, delete, update)