initial checkin of server code