The conversion is far from complete. But this gets the first layer of framework in place. Relates to #216