Railways to construct flats for its employees