Moved http requests to service