Changed top level example
Added more godoc documentation