Reorganize files according to CommonJS spec.