Added a central API caller to streamline API calls.