Loose coupling using Spring