edited documentation and licence
initial version of library