The API for SC2CTL