- seperted out some functionality
- added the "deal" and redeem hooks