implemented a rest api for some scheduler services