Refactor to separate the logic for wrapping the precompiled code with a YUI module in preparation for the first cut of the CLI.