Refactoring to streamline processor code
Merge pull request #68 from Gonthim/master

Refactoring to streamline processor code