base server

init message types and structure for server. need to do better