Including IPB

Split getBlock into getIPBlock & getOPBlock.
IPB is not completed yet.
OPB can run without problem