Root context

updated to support different API configurations, separated creation through POST and adding to profile through PUT