cblock now working (part of stepfcn commented though). Further tests for communication with iblock necessary.
added read function to iblock
added write funtion in iblock