Added BNGCI class in its previous form.

Needs more work, but it's there anyway.