create basic api structure