Revert "Revert "Main Program""

This reverts commit d3ffdb3112d53985291fc572068651da9dcae062.