added some documentation and sample config