Updates to Tern Client

Figured out what the clients namespace is for, trying to reuse that
code.