add support for starting rest-api and storage-stats