Started adding comments in order to assist others in understanding the flow of the controller.