Really basic structure tree implementation