26902 Initial code review

Created a branch from the very first commit to be able to review the whole code written so far.
This does not mean that a merge should be done after the review is done, this is a "dummy" pull request.
Given the camel cases names, I suspect these are standard Flame hooks. I feel a like a comment a the beginning of the file, giving a list of available Flame hooks and their purpose would be helpful.