Refactoring ColumnValue class