create basic api interface