add utility functions, LayoutLayer, FlexNode