Few bug fixes
Add feature tree automatic merging
Minor optimizations
Factor out common data structures
Remove multi-threading option for BeamDecoder
Remove unused code