simplify spring configs