Add GitRef func to streams/streams.go
Refactor api/book.go

- Use streams pkg
- Simplify and reduce verbosity
- Add build methods