Ported code to new library, requests, for easier requests (as name suggests)