implements register, unregister and get uri APIs, no test done yet