initial commit: server class, packet structure