Added exception class.

Exception class added for unknown command block type exception.
Added exception class.

Exception class added for unknown block type.
Added block type.

Each block object tracks own block type.
Added database save functionality.

Incomplete. Still saves duplicate blocks.