chore(Spring Context):Move Bean definitions from Spring XML to Groovy Config