Adding infrastructure for making API requests