Add more tests for Processor

also improve existing, clean up code.
Update README.rst about Processor