initial API scaffolding, and the first few sets of integration tests