Rename class Api -> BaseApi