Added a new api class