Refactored. Got Processes working.