Implemented loading programs from local storage