clean up structure

I used the async library to clean up the structure of the requests.