add read_xpdb and placeholder function rm_tables