added documentation
updated readme