added basic support for code folding persistence as per issue #5.