moved logger into module
repeated violation warning (http://www.imdb.com/title/tt0106697/quotes?item=qt0412438)
Merge pull request #2 from gaving/master

repeated violation warning + tidy up