added yard documentation to google compute code + new platform class

- we like docs!
- i should do this more often!
- please don't check for grammar