Refactor configuration options

* Add Configuration module.
* Add ability to use block format for configuration.
* Update specs to use set_default_configuration convenience method.