Move config into library so both client and server can use it.
Use the host and port from config.
Add custom loader module.
Require loader.