Fix namespaces in generate class and helpers
Generating modules isn't working yet