moved http requests to backgammonService