Basic api setup