In Java configuration style

Spring configuration remade with XML in Java configuration style