Started doing a bit of commenting on the code.