Adding Block and BlockHeader.
Adding methods for encoding/decoding date.