Add PatternBuilder; Add package for patterns