Reorganising code in prep for adding whois functionality.
Changes to how we do logging. Each package will have it's own logger (as opposed to libs that just return errors).