Added block processor, selector-aware, and some tests.
Added CLI.