Refactored configuration. SpringApplication.