Added code comments/documentation and did some file cleanup with the sample data