Simplified module extraction code
noop option is given to user (just output a file)
Default parameters for functions, with some tests