[#29] Add some new code block definitions

Instead of using colour names, avoid ambiguity by using the scratch
block names as the code class names.

Fixes #29.