Split tuple impementation into .cpp file.
Split shape tree into separate .cpp and inlines.hpp files.
Added HeapThingValue helper class.
Added HeapThingValue, changed ShapeTree to use it.