web api initial draft infrastructure