request and response dispatcher. Config class