Base classes for the bitcore library