refactor: deleteColumn and resetTable methods into one
feat: resetTable works fine for successive submits
refactor: shift position of function
feat: include period while adding columns
refactor: rename getNewBeginningDate to setDateOffset to serve wider purpose and reduce code repetition