added documentation and PDF userguide.