Refine SpringApplication usage a bit