Started to create the api interface