main server initial revision