Refactored the metadata to plugins and extracted the configuration from the server.js