Create Hooks module and and before_validation hooks