Modified the framework for the local storage. Has not been tested or fully implemented yet.