Update usandfriends.h

Completely redesigned the library.