Added functionality for listing programs and preliminary functionality for program exercises