update readme.md to reflect recent checkins
refactor nearly duplicate code
Merge pull request #9 from dominiqueplante/master

update readme.md + refactor nearly duplicate code