made context model management more universal. Made model_list_ a std::set. added doc comment about context model management. minor tweaks