encapsulated some functionality into separate functions, separated adjustment of codeoptions and actual code generation
encapsulated some functionality into separate functions, separated adjustment of codeoptions and actual code generation

embotech/Y2F