Use nconf port for runtime.load.
Refactored entity creation.