Refactor Stock table into configurable columns