Added (WIP) auth, tidied code (gofmt), added example to README.