Added Request class

could you put building of  ```where``` part in separate method?