add main()
Merge pull request #362 from racker/fixes/version

add main()