Changing to public access for routine needed by controls to Codegen
Adding local codegen code
Modifying travis build for easy testability.