Move code of process util in a specific class