extracted request class from connection

Signed-off-by: Tolga HOŞGÖR <fasdfasdas@gmail.com>