redefine the package main function.
Merge pull request #2 from jcrom/master

redefine the package main function.