initial version of the ABI wrapper