Commented on the newer parts for better understanding of how everything is working.