adding lots of features to support variable options, adding initial support for sorted/paged data tables