Green energy from organic wastes