Initial commit of base API class