Adding pre-commit hook. Not functional at the moment. Please look over.