change messages to be their own types; add ability to send commands along with orientation data; remove ability to exit the server