Port Old Program

Ported 10% of the old program to work with the new simplified
programming structure.