Unrefactored code. Add exercise and program viewer.