Moved the block routines into Encoder/Decoder block module
Implemented tests and benchmarks for the block module.