refactoring: integrate procedure for loading ServerConfig