Implement modules generation
Fix fully qualified name
TODO: Better partial naming handle in types.