update README and add an example config file