Added (a lots of) comments to code; unused methods cleanup

1 job for master in 44 seconds (queued for 10 seconds)