Refactored http interaction and removed services.