finished search method and refactoring, need to implement client connection port passing in HELLO method