create stream source class to provice service.