Published main API class and sample file