[all] added comments and cleaned up code

4 jobs for master in 4 minutes and 18 seconds (queued for 13 seconds)
Status Job ID Name Coverage
  Build
passed build #492991

00:00:14

 
  Test
passed test #492992

00:00:13

 
  Deploy
passed deploy #492993

00:00:15

 
  Deploy Heroku
passed deploy_heroku #492994

00:03:35