* Refctor into an issue processor, add debug mode * Move processor to use its own types so testing is easier * Add more tests