Adding the table builders. Also split feat and domains into two separate tables.