Add Github ribbon.
Minor refactoring