Adding a forever loop with a sleep, and reducing duplicate code
Merge pull request #9 from jdlawrie/master

Adding a forever loop with a sleep, and reducing duplicate code