Added some new commands and messages plus some fixes and a UML diagram.