Finish core

Finish the core initialization and complete module layout/processing.