Added registering of messages, work in progress on serverstuff