Updated Processor + Tests

The processor finally has tests! It has also been updated to work with
the new parser and modules.