Package refactoring and use Spring Java configuration as a bootstrap