Change name for blockly.
Refactored, fixed, and wrote tests.