Removing misc

The useful stuff goes into util, the cruft goes away.