updated deps.
added docs.
refactor.