add code climate badge. Formatting and table of contents.