Added basic table definition functionality