main.py: added default host/port when not provided by user. search.py: some formatting added