Add basic model history support

Actually fixes #51