Creation of a generic pattern class (with also the BlockModule class), which will replace our current flag creation and allow other structures generation.
Merge remote-tracking branch 'origin/master'