Added (a lots of) comments to code

1 job for master in 32 seconds (queued for 31 seconds)