Late to the party (story of my life), but this is a most excellent idea.
Disk Jockey has made me reimplement stuff in Swift (device partitioning, HFS, resource and data forks, ...) but to access it all programmatically (as Bruce Horn and Steve Capps intended) is an extremely enticing prospect...