refactor program panel functions into namespaced
module - WIP