Main program running and tested.