Move hooks to a separate file

Change-Id: I2cb53bd4beae247c1b983dc8c4482af682acab64
Merge "Move hooks to a separate file"