Basic API class structure