From oxides to oxyhalides: modelling the properties of high TCsuperconductors