Further improvement in PatternTrie, reformat, add template stuff, new annotation processors