Updated documentation with new configuration format

Also changed the code examples to have a consistent style in
regards to quotes and defining object properties.