refine docs
- grab the config from the class itself
- deprecate flags