Implement delete request.
Fixed all the findbugs warnings.