Adding ALL the libraries

It's messy, but with them it works and without them it doesn't.  Would
be too painful to sort out right now