Diversifying local economies in deprived areas of medium sized cities, by developing an integrated socio-economic urban rehabilitation model