Added visiblity options to col defs
Refactored structure, split into separate files. Added functionality to show/hide columns