add BitcoinAmount class and tests