adding the coveralls badge
minor refactor