add initial API setup; versioned, with version number passed in the  header