Setting up space for api calls