fist commit: partial implementation of RestClient