Code Source for BCH RAGE-Control Project