Create a framework for handling context and session

Signed-off-by: Brian McGillion <brian.mcgillion@intel.com>