Implementing API
Finish api class