adds context references to models, views, collections, and app