Refactor Context to contain the poolAdaptor too