Edit Application.java to use Spring Boot's SpringApplication.run()