Add getters and setters for values

Decided to contribute code back. This code adds getters and setters for
configurations, allowing you to programmatically update settings.