Clean up compiler warnings and make static variables in class functions into class variables where they belong.
The library was originally part of several separate projects. Make the needed structure and bring those files in, including some READMEs.