title: Efficient Code Refactoring
body: <p>Not being an experienced programmer, I was wondering if you could help me to find the most efficient way to refactor a part of source code.</p>
  
  <p>Indeed, I have taken over a project where in one class I have one (public) static method which is around 3000 lines long. 
  I would like to refactor it especially with regards to the fact that I will incorporate some multithreading in it.
  Basically the code is a s follows: </p>
  
  <pre><code>&gt; - Different kinds of parameter Initialisatoins need for the method
  &gt; - Monte-Carlo routine with random numbers generations and business logic
  &gt; - outut of results.
  </code></pre>
  
  <p>In my opinion the best way is to remove the staticity of the method and to build a "plain " class with a constructor and divide the Monte-Carlo routine in smaller functions.
  However, I will have around 50 class memebers which  seems not too appropriate.</p>
  
  <p>However, that is the only "not to disgusting" implementation that I came with.</p>
  
  <p>What would be your advice.</p>
  
  <p>Many Thanks, </p>