Moving the Version/Rev stuff a bit now that I look at it

plus some comments and making a few symbols private based on golint feedback.