separated the direct api methods into a new file