Reworked, restructured and improves commit message hooks