Now the modules are created using a factory instead of static allocated. The same module can be applied to different sequences. Pain in the ass memory free