Refactoring e adicao do HttpClient