Added version check

Added check for old version, and if found convert persistent storage to new version.