Development of MOKE spectrometer