Performance Enhancement

Change Field creation method to Flyweight pattern and has proper init
capacity for Segment and CompositeField to reduce memory usage greatly.