Removed unneeded libraries and code.

Removed third party libraries for which I do not have consent from their
authors. Left strictly what was necessary.