basic api setup done