Move configuation specific functions to a dedicated file.