Changed to look more like current Perl OO practices.
Merge pull request #1 from davorg/master

Changed to look more like current Perl OO practices.