add api class and certs