Use spring code configuration instead of XML