Refactoring with Spring Profile