Add badge to readme.
Reformat code.