API changed to create_server