an image is wroth a thousand words
added pre-commit hook and hook installer, resolves #401