added pre-commit hook; update documentation