generate behaviors
generate source files in code gen