WIP: build the dojo adapter