rm map.go
moved seat type to input.go
added wire format
moved protocol interfaces to protocol.go