Refactor state/message system a bit more

Started to implement using the new system in SessionController
Ongoing refactor to use new messaging system
Handling registration and update server responses
Commit before changing message implementation
Wrote message hierarchy based on protocols
Work on messages
Fix proto name bug
Removed unused code that was causing a crash
Finished message
Refactor and add message handling to UI classes