added config example and updated readme