Changed block name to block object.
Fixed create table bug.
Fixed almost all bugs.