Added inline documentation
Added support to register a key to a remote resource