Support for github version string
Improved error handling
Unit tests