Add initial support for submitblock command.

Closes #7