Wrap docs into list if it is not list type
Introduce local cache
Move StorageManager into GenericService; add cache for popdb
Add cleanup method
Add clean-cache option