Added code climate badge
refactor tube population for clarity