Refactoring pattern bank
Refactoring rhythm selector codes