finished a draft of server_checker.py