Now has a simple no arguments main method.

This change seemed to be necessary in order to make setup.py
behave correctly. Previously it would fail after installing from setup.py
because main setuptools seemed to be invoking main with no arguments.
Merge pull request #2 from johannth/master

Now has a simple no arguments main method.