created HttpService for a better separation of concerns
tests are ok, now
finished it