add some docs
add copyright notice