Split 'utils' functions in many files

Split private functions in various files according to the public functions they refer to.

Edited by Placeholder Delaigue Olivier