Add deal mechanism
Merge pull request #23 from Amomo/master

Add deal mechanism