extract kingdom generator module
extract last table name module