Added BtcContract class