serial module - interact with server