Renamed ApiConnection class