Major Improvement

Added input arguments for changing settings.
Added function to break the job into several pieces.