chore(code_reorganization): move deploy, hooks under tools

BREAKING CHANGE: The commit.template is moved, you might have issues
while committing. Just try again.