added plugin.xcom.getMedia to table type and refactored types of tables