implement persistent storage specification

fixes #111