DynECT initial implementation: SessionApi

starts progress on DynECT, which goes towards issue #1165