Column selection, refactoring, comments

A lot of refactoring and restructuring. Better code structure broken
into regions. More improved reflection. Column selection works.
Filtering left TODO.