created a ReferenceClass bi_wrapper, to replac both bi_settings and bi_libbi