initial checkin of basic client and server