Refactored the Processor.

Removed the RunThread method from the Processor.