Add link to code climate.
Minor source code tidy up.