Documented main method.
Merge pull request #1 from jokka/master

Document main method