CommonJSification.
Consistent directory layout.