make registration slightly more generic
add namespace, key and rawKey are dynamic now
make discover() callback compliant with callback convention
0.3.0