Added dealer logic
Merge branch 'master' of https://github.com/AndyA13/dojo-may2013
added dealter stuff