implemented simple model stored as JSON strings in sessionStorage