rename "api" namespace to "csapi"