add Block and Transaction classes