Some crazy Spring config solving all problems