A compact Thomson scattering system