rip out a lot of unnecessary c++ backend code