Add pluggable persistent storage support
Updated README.md to show correct usage of new classes