Added command loading/reloading and persisting to JSON