Refactoring configs, beans no longer manager by spring