added configurableAPI
replaced is_clean() with state(); renamed restore()→rollback(); added STORAGE_* state constants
thoughts