Modularized table generator