Initial work porting over our poker coin stuff into btcwire