Reorder baseConfig options
Add defaults for alll options
Remove duplicate code
Add method to retrieve a setting
Add readme
Fix phpcs violation