Move node definition for rbtree from source file to header file.
Add rbnode_alloc() for rbtree.
Initialize rbtree instance.