added documentation and LICENSE