Changed the way contexts are set, removed host url so that type ids are the same on different hosts