Move mongo client and db init to application-context.xml.