initial API setup