Related to #1372.
Until now worked solely for 2 CPU setups. Adjust it to the actual available number of CPUs. Issue #1212
This patch changes the top-level directory layout as a preparatory step for improving the tools for managing 3rd-party source codes. The rationale is described in the issue referenced below. Issue #1082