Refactor Coinbase class into 2 classes