1. Redesign key-value format
2. Remove 'table' related code
3. Replcace 'cpp-tree' by std::map/std::set
4. Make code compilable under g++ 3.4.5