add createExchange method

address #12