Ex-74 Registration Code redemption

@chrisndodge we have added the functionality related to EX-74, Kindly review the changes and let us know if anything is missing 

Thanks
please use depth=0.

Depth=None means the entire course (several 10MB's of data) is queried from the database