Restructured the pattern class to be a super class for derived patterns: carrots, traps