modernize barley infrastructure

thanks Denis Ahearn