Move EGen to MSTools