use BuildRevision where possible
extend GitHub api to include resolve of GitHub branches
extract classes
close issue 10