started with the work to enable storage.

added the publisher/subscriber js ... should be used soon. code is getting messed up.