change to static methods; add analyzer calls

- change `PubTools` to use static methods instead of instance ones; rename to `Pub`
- add some analyzer utility calls

#34, #39