Converted application config to use sub-config classes, updated code to reflect these changes, updated tests, updated README