Add build mechanism which embedds the git sha1 and a version string
Fix some comments to reflect the names properly