added documentation
updated readme and licence