created Patterns module for connection patters