Restructured source tree and build system to accommodate additional modules.