Back end code for coinbase support

There are some issues with balanced that need to be fixed before moving further ahead with this.  Will straighten those out and then finish this pr off