Split listen address and port in server configuration
Added apiInfo type