Reorganized the project and cleaned it up a little. Added a configure script to build the standalone static library. Updated unit tests, still needs to be modified to link against new library.