Added new interface for binary export

Linked with dandelion/issues#80 and dandelion/issues#131