CTreeDocument implemented, codes incomplete. works required.