Implemented GET and DELETE
Also refactored a lot of stuff