Moved the context creation into a method
Moved the context creation into a method

TeamHG-Memex/Datawake,Sotera/datawake-prefetch,Sotera/Datawake-Legacy,Sotera/Datawake-Legacy,Sotera/datawake-prefetch,Sotera/datawake-prefetch,Sotera/Datawake-Legacy,diffeo/Datawake,diffeo/Datawake,diffeo/Datawake,Sotera/Datawake-Legacy,Sotera/datawake-prefetch,Sotera/Datawake-Legacy,TeamHG-Memex/Datawake,TeamHG-Memex/Datawake