[WIP] Stub for command authorization
[WIP] Authorization system, and refactor some Client code
Refactor Message struct, and add some comments.
More comments.