Added command arg processing & unit tests. Initial logging & console
writing framework.