Simple local storage service for persisting variables