Moving servername to config from api responsibility