Massive update

Added logging, and standalone executable building.  And fixed some
things.  Formatting updates.
Merge pull request #2 from univ-of-utah-marriott-library-apple/modularization

Massive update