added basic api class