Move a bunch of module-specific files into the base module.

Change-Id: I1b8029e6a302fc83859d7cdb404a0cd91596bf95