level 1 api and initial appengine endpoint