Restrucutre
Fixed delete and tests for POST and DELETE