- some code cleanup
- add Value interface
- use PlainValue class for values
- more work on values
- fix var_read impl