added LICENSE.txt
added documentation. fixes #1