Implement basic storage class in storage.js

- 'add', 'update', and 'remove' functions reflect basic storage
  behaviour
- 'dump' function allows the direct backup of storage