Refactored WebAppConfig, deleted deprecated files