add directory
refactor tests
add notes
fix treestore reading bug, improve tests, segfault...
fix deserialization bug