update documentation
support reference values via parameter
(and add license header .. license is subject to change)
Merge pull request #3 from ridoo/master

merge features