Refactoring configtablepanel for reuse in course/control panel