initial api class