Begin cleanup of macoslib code.

The AddressBook code has been removed because it was so unfinished.