refacto config spring mvc