refactored runtime configuration to be endpoint/webApi specific; added worker to monitor memory usage;