Add start and stop commands and supporting apis.