change it to a library
update docs
Update docs