Split up commands and functionality; debug stuff

Broke up clij.rb because it was getting unwieldy.  Worked through
the addition of some debugging statements.  Rationalized commands.
Merge pull request #3 from dryack/finish_poll_cmd_family

Split up commands and functionality; debug stuff