add documentation and config example