Community capacity building to take advantage of opportunities for agricultural and rural development