updated to show better fast compile and updated external module code generation