Implement basic backend flow

Start of backend implementation of new flow