derive M from ModuleT
example module with constructor arguments and extra arguments for operator()