initial queue code added. also ability to extract Hostname from remote