added CommandMessage and PrivateMessage
implemented command parser and event