Started cleaning up in the res module a bit.  Replaced a bunch of stuff in the util module with Boost's stuff.