removed syntax heavy when/case logic
removed ruby extention
replaced hardcode CLI logic with optparse
added defaults and args for custom hosts and ports