[base] Make storage engine URI optional.
[engine] Move registration code to correct place; fix worker build.