Add minimal main()
Merge pull request #24 from matthiasbeyer/add-main

Add minimal main()