Clean linting errors and some minor fixs.

* Remove obsolete setID().
* Add instance as a member variable for Builder.
* Add class documentation.
* Clean linting errors.
Also clean some linting errors
Merge branch 'QueryEngineAPI' of https://github.com/evansb/main into QueryEngineAPI