pub fn create_task( service: Arc<Box<dyn Task + Send + Sync>>) -> HashMap<String, Box<dyn MethodHandler + Send + Sync>>