manage to do a http request and extract data into class objets