cleaned up code and naming conventions, added ability to override request types for get,post,put,delete