Allow multi step processing
Make rst multi-step
Add support for sections
PEP8 and cleanup