move some fundamental table operations into the table class. change options hstore columns to a vector for easier use