Wrappers and fns for initialised source states

Add new wrapper types and associated functions to hold the state
associated with entities and data sources held in existentials.