Initial api setup