Implement DELETE, REST code refactoring, changing endpoint