Fix readme
Add GoDoc and fix scopes