Move constant definitions and nexus table.

[MOD] Move configures, settings, and systems to conf.lua.
[MOD] Move constant definitions to conf.lua.
[ENH] Use local constants.
Updated the usage of core modules.

[MOD] Updated the usage of core modules.