Added spring configuration class.