Added examples to the README file, fixed the configuration function