move pattern provider to pattern package