add direct exchange code
Merge pull request #10 from jgpawletko/direct-exchange

add direct exchange code