Broke out api calls to a module