Add support generating codes for modules
add a class file