Hive setup

Bring up some of the work from the old hive branch that can co-exist without hql fully integrated.

Should merge this today, no reason not to.
Why delete that line?