Exported all commands. Fixed Message export formatting.
Removed unused types. Reorganized data definitions.