remove hook related code
move timer related code to a seperate namespace
update test to include HTTP PATCH
add HTTP PATCH method for the client