Added a DosnaState class that keeps information about the state of the system
Added the messages menu item to the main UI
Started working on the Events API interfaces