sync. Transfer of some functions to utilities

Signed-off-by: Kevin Wagrez <kevin.wagrez@gmail.com>