added constants.inc, updating table form builder with more options, broken - needs get data object code