Revert "Revert "remplace common par server functions.""

This reverts commit a8c65cc203720edf5b745ebc439651f16d77c88f.
Revert "remplace common par server functions."

This reverts commit be35f3d8c6a5af4535ef0b4b4f6ddf5ad8bd43d6.
Revert "Revert "remplace common par server functions.""

This reverts commit a8c65cc203720edf5b745ebc439651f16d77c88f.