Using config to fetch stockManager