slush generator to create a cm middleware module