BiDomain: add initial version