initial work to switch to new backend

initial work to switch to new backend - work in progress