Move license files to subdirectory
Clean up code and documentation

This completes the initial cleanup of major code style and documentation
issues.