add documentation, license adjustments
adjust handling, documentation
add unit test