A quick swift class with a compleation handler to aide in api calls