work in progress; defining c library ehaders and basic tree structure