Clean up code. Finish readme and fix the example configuration.