refactor configstorage to abstract out most of the loading process, load and store persistables and let them deal with serialization instead of configstorage