moved API class due to namespace conflict